package org.pms.entity;

public class Product {
    private String id ;
    private String name ;
    private double price ;
    private int count  ;
    private String image ;
    private String desc  ;

    // setter/getter
    public Product() {
    }

    public Product(String id, String name, double price, int count, String image, String desc) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.count = count;
        this.image = image;
        this.desc = desc;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }


    @Override
    public String toString() {
        return "Product{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", count=" + count +
                ", image='" + image + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }
}
